package com.huike.business.mapper;

import java.util.List;
import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.domain.vo.BusinessTrackVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {
    /**
     * 商机跟进记录查询
     * @param id
     * @return
     */
    @Select("SELECT * FROM tb_business_track_record WHERE business_id = #{businessId}")
    List<TbBusinessTrackRecord> getbusinessTrackRecord(@Param("businessId") Long id);

    void insertBusinessTrackRecord(TbBusinessTrackRecord tbBusinessTrackRecord);


}
